package com.kuang.service;

import com.kuang.dao.UserDao;

/**
 * @author FHL
 */
public class UserServiceImpl implements UserService{
  /* private UserService userService=new UserServiceImpl();
    public void getUserService() {
      userService.getUserService();
    }*/
  //利用set（）实现
  private UserDao userDao;
  public void setUserDao(UserDao userDao){
      this.userDao=userDao;
  }
  public void getUserService() {
    userDao.getUser();
  }
}
